﻿using EasyDDD.Domain;

namespace EasyDDD.Infrastructure
{
    public interface IRecordsBase<TEntiy> where TEntiy : class
    {
        IQueryable<TEntiy> AsQueryable();
    }

    public interface IRecords<TEntiy> where TEntiy : IEntity
    {
        IQueryable<TEntiy> AsQueryable(Guid? tenantId);
        IQueryable<TEntiy> AsRawQueryable();
    }
}